package com.szrt.java.day20161230.demo04;


import org.junit.Test;

public class StudentTest04 {

	@Test
	public void test() {
		Student04 stu =new Student04();
		
		stu.setSchool("szrt");
		stu.setName("zp");
		stu.setAge(21);
		
		System.out.println(stu);
	}
	
	@Test
	public void attribute(){
		Student04 stuAttribute = new Student04();
		
		System.out.println(stuAttribute.salary);
		
	}


}
